home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 46 / PC Gamer IT CD 46 2-2.iso / Nba / NBA2000.exe / CABFILE / IDR_CABFILE / Data / 2DScript / MINITIME.UI < prev    next >
Text File  |  1999-04-12  |  3KB  |  175 lines

  1. "2D\Overlays\Miniscor"
  2.  
  3. //********************
  4. //  Data Container
  5. //********************
  6. DataContainer {
  7.     String "MiniScoreClock" {
  8.         EditBox "MiniTimeClock";
  9.     };
  10.     String "MiniScoreHomeName" {
  11.         EditBox "MiniScoreHomeName";
  12.     };
  13.     String "MiniScoreHomeScore" {
  14.         EditBox "MiniScoreHomeScore";
  15.     };
  16.     String "MiniScoreVisitorName" {
  17.         EditBox "MiniScoreVisitorName";
  18.     };
  19.     String "MiniScoreVisitorScore" {
  20.         EditBox "MiniScoreVisitorScore";
  21.     };
  22.     Int "MiniScoreQuarter" {
  23.         ImageSpinner "MiniScoreQuarter";
  24.         InitialValue 0;
  25.     };
  26. };
  27.  
  28.  
  29. //********************
  30. //  Images
  31. //********************
  32. Image "MiniScoreBack" {
  33.     Filename "Score";
  34. };
  35. Image "MiniTimeBack" {
  36.     Filename "sm_time";
  37. };
  38.  
  39. Image "MiniScoreQuarterFirst" {
  40.     Filename "1stquart";
  41. };
  42.  
  43. Image "MiniScoreQuarterSecond" {
  44.     Filename "2ndquart";
  45. };
  46.  
  47. Image "MiniScoreQuarterThird" {
  48.     Filename "3rdquart";
  49. };
  50.  
  51. Image "MiniScoreQuarterFourth" {
  52.     Filename "4thquart";
  53. };
  54. Image "MiniScorePractice" {
  55.     Filename "practice";
  56. };
  57. Image "MiniScoreQuarterOT" {
  58.     Filename "Overtime";
  59. };
  60.  
  61.  
  62. //********************
  63. //  Fonts
  64. //********************
  65. Font "MiniScoreClockFont" {
  66.     Filename "ScrCkFnt";
  67.     Translate " 0123456789:.";
  68.     Kerning 0;
  69. };
  70.  
  71. Font "MiniScoreTeamNameFont" {
  72.     Filename "TmNamFnt";
  73.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
  74.     Kerning 1;
  75. };
  76.  
  77. Font "MiniScoreTeamScoreFont" {
  78.     Filename "TmScrFnt";
  79.     Translate " 0123456789";
  80.     Kerning 1;
  81. };
  82.  
  83.  
  84. //********************
  85. //  Styles
  86. //********************
  87. Style "MiniScoreStyle" {
  88.     Image "MiniScoreBack";
  89. };
  90. Style "MiniTimeStyle" {
  91.     Image "MiniTimeBack";
  92. };
  93.  
  94. Style "MiniScoreClockStyle" {
  95.     Font "MiniScoreClockFont";
  96. };
  97.  
  98. Style "MiniScoreTeamNameStyle" {
  99.     Font "MiniScoreTeamNameFont";
  100. };
  101.  
  102. Style "MiniScoreScoreStyle" {
  103.     Font "MiniScoreTeamScoreFont";
  104. };
  105.  
  106. Style "MiniScoreQuarterStyle" {
  107.     Image "MiniScoreQuarterFirst";
  108.     Image "MiniScoreQuarterSecond";
  109.     Image "MiniScoreQuarterThird";
  110.     Image "MiniScoreQuarterFourth";
  111.     Image "MiniScoreQuarterOT";
  112.     Image "MiniScorePractice";
  113. };
  114.  
  115.  
  116. //********************
  117. //  Edit Boxes
  118. //********************
  119. EditBox "MiniScoreHomeName" {
  120.     Style "MiniScoreTeamNameStyle";
  121.     Position [33, 38];
  122.     Size [93, 20];
  123. };
  124.  
  125. EditBox "MiniScoreHomeScore" {
  126.     Style "MiniScoreScoreStyle";
  127.     Position [138, 38];
  128.     Size [35, 18];
  129. };
  130.  
  131. EditBox "MiniScoreVisitorName" {
  132.     Style "MiniScoreTeamNameStyle";
  133.     Position [33, 18];
  134.     Size [93, 20];
  135. };
  136.  
  137. EditBox "MiniScoreVisitorScore" {
  138.     Style "MiniScoreScoreStyle";
  139.     Position [138, 18];
  140.     Size [35, 118];
  141. };
  142.  
  143. EditBox "MiniTimeClock" {
  144.     Style "MiniScoreClockStyle";
  145.     Position [16, 9];
  146.     Size [50, 16];
  147. };
  148.  
  149.  
  150. //********************
  151. //  Image Spinners
  152. //********************
  153. ImageSpinner "MiniScoreQuarter" {
  154.     Style "MiniScoreQuarterStyle";
  155.     Position [63, 60];
  156. };
  157.  
  158.  
  159. //********************
  160. //  Groups
  161. //********************
  162. Group "MiniScore" {
  163.     Root;
  164.     Style "MiniTimeStyle";
  165.     Position [34, 25];
  166.     Children {
  167. //        EditBox "MiniScoreHomeName";
  168. //        EditBox "MiniScoreHomeScore";
  169. //        EditBox "MiniScoreVisitorName";
  170. //        EditBox "MiniScoreVisitorScore";
  171.         EditBox "MiniTimeClock";
  172. //        ImageSpinner "MiniScoreQuarter";
  173.     };
  174. };
  175.